<% unless captcha_passed? %>
  <%= hidden_field_tag :captcha_id, @captcha.id %>
  <table width="100%" class="<%= last_captcha_attempt_failed? ? 'captcha_failed' : 'captcha' %>">
    <tr><td colspan="2" class="spam"><%=_ "Spam protection"%></td></tr>
    <tr>
      <td width="90%"><label for="captcha_answer"><%= @captcha.question %></label></td>
      <td><%= text_field_tag :captcha_answer, params[:captcha_answer], :size => 10, :maxlength => 40 %></td>
    </tr>
  </table>
<% end %>